//#include <QCoreApplication>

#include <QDebug>
#include "charpter3_2.hpp"

//int main(int argc, char *argv[])
//{
//    QCoreApplication a(argc, argv);

//    return a.exec();
//}


int main()
{
    some_data someData;

    someData.a = 1;
    someData.b = "test";

    std::cout << "befor: "
              << "data a: " << someData.a
             << "data b: " << someData.b;

    foo();

    std::cout << "after: "
              << "data a: " << someData.a
             << "data b: " << someData.b;
    return 0;
}
